Align public error contracts#43
Conversation
|
Claude finished @tolgahan-arikan's task —— View job PR Review: Align public error contractsI reviewed the error-contract changes against the focus areas. Overall this is a well-structured, conservative change with strong test coverage and documentation that stays in sync with the code. Approving in spirit — only minor/optional notes below. ✅ Security (private key material / P-256 non-extractable)No regressions. The diff never persists key material into session storage. Session expiry/clear paths ( ✅ No floating-point for token amounts
✅ Platform availabilityNew public surfaces ( ✅ Test coverage
✅ Correctness — transaction write boundariesThe execute vs. polling distinction is implemented correctly:
Minor / optional observations (non-blocking)
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 000d45e01e
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@claude review |
|
Claude finished @tolgahan-arikan's task —— View job PR Review: Align public error contracts
I reviewed the latest commit ( ✅ Codex finding #1 — WaaS 5xx mapped as
|
Summary
retryable, normalizedupstreamError, stable operation IDs, and transaction recovery fields.OMS_TRANSACTION_EXECUTION_UNCONFIRMEDfor failed execute calls andOMS_TRANSACTION_STATUS_LOOKUP_FAILEDfor failed post-submit polling.docs/error-contracts.md,API.md,README.md, andTESTING.md.Impact
Apps can branch on stable
OmsSdkErrorCoderaw values while usingoperation,status,txnId,retryable, andupstreamErrorfor recovery, logging, and diagnostics. Transaction errors now distinguish retrying status lookup from resending a write.Validation
swift buildswift test